﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Model.Hero;

namespace Model.Adventure.Monters
{
    public class Orc : NPC
    {

        public Orc(String race, int lvl)
            : base(race)
        {
            Name = "Orc";
            //default stats for Orc - står i race
            /*Strength = 12;
            Vitality = 9;
            Intellect = 3;
            Perception = 5;
            Agility = 4;*/

            Level = lvl;
            
            //Orcs have high attack rating, but does not do much to defend themselves (represents items)
            _attack_rating += (int)(3.5 * Level);
            _defense_rating += (int)(1.5 * Level);

            //increase stats
            Strength += (int)(1.5 * Level);
            Vitality += (int)(1.25 * Level);
            
            //feats should be created only once and referenced where applicable
            //Orcs have darkvision, giving them increased perception when in the dark            
            Feat orc_darkvision = new Feat { Name = "Darkvision", Is_in_the_dark = true, Perception = 2 };

            //updating current health last
            CurrentHealth = Health;
        }
    }
}
